package com.stu.Entity;

public class Car {
	private String brand;//品牌
	private String color;
	private String displacement;//排量
	
	public void setBrand(String brand) {
		this.brand=brand;
	}
	public void setColor(String color) {
		this.color=color;
	}
	public void setDisplacement(String displacement) {
		this.displacement=displacement;
	}
	public String toString() {
		return "[汽车的品牌："+brand+"，颜色："+color+"，排量："+displacement+"]";
	}
	
	
}
